#include <stdio.h>
#include <unistd.h>
#include <stdbool.h>
#include <signal.h>
void Print(int sig)
{
    printf("Print! I got a signal: %d\n",sig);
}
int main()
{
    printf("About to sleep for 4 seconds!\n");
    signal(SIGINT,Print);
    alarm(4);
    pause();
    printf("Moring so moon?\n");
    return 0;
}
